<?php
class AdvertisementTable extends Table
{
    function  __construct($dataArray = NULL)
    {
        $fields = array('id'=>null,'name'=>null,'description'=>null,'image' => null,'link'=>null,'a_order' => null);
        $this->setField($fields);
        parent::__construct('ads', $dataArray);
    }
}

?>
